home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / dist / bfd / hosts / sun3.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-13  |  1.8 KB  |  73 lines

  1. #include <ansidecl.h>
  2. #include <fcntl.h>
  3. #include <errno.h>
  4. #include <stdio.h>
  5. #include <sys/types.h>
  6. #include <sys/stat.h>
  7. #include <ctype.h>
  8. #include <string.h>
  9. #include <sys/file.h>
  10. #ifndef O_ACCMODE
  11. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  12. #endif
  13. #define SEEK_SET 0
  14. #define SEEK_CUR 1
  15.  
  16. extern int  EXFUN(abort,(void));
  17. extern int  EXFUN(close,(int));
  18. extern int  EXFUN(fcntl,(int des, int cmd, int e));
  19. extern int  EXFUN(fprintf,(FILE *,char *,...));
  20. extern int  EXFUN(printf,(char *,...));
  21. extern int  EXFUN(qsort,(void *data,int els, int siz, int func()));
  22. extern int  EXFUN(exit,(int));
  23. extern int  EXFUN(fseek,(FILE*, int, int));
  24. extern int  EXFUN(fclose,(FILE*));
  25. extern void EXFUN(bcopy,(char*,char*,int));
  26. extern int  EXFUN(bcmp,(char *, char *, int));
  27. extern void EXFUN(bzero,(char *, int));
  28. extern void EXFUN(perror,(CONST char *));
  29. extern char *getenv();
  30. extern char * strchr();
  31. extern char *memchr();
  32. extern char *strrchr();
  33. extern int chmod();
  34. extern int fread();
  35. extern int fstat();
  36. extern int fwrite();
  37. extern int sscanf();
  38. extern int stat();
  39. extern int strtol();
  40. void free();
  41. char *malloc();
  42. char *realloc();
  43. extern char *strrchr();
  44. extern char *ctime();
  45. extern int _flsbuf();
  46. extern int fclose();
  47. extern int time();
  48. extern int utimes();
  49. extern int vfprintf();
  50. extern long atol();
  51. extern char *getenv();
  52. extern int fputc();
  53. extern int unlink();
  54.  
  55.  
  56. /* EXACT TYPES */
  57. typedef char int8e_type;
  58. typedef unsigned char uint8e_type;
  59. typedef short int16e_type;
  60. typedef unsigned short uint16e_type;
  61. typedef int int32e_type;
  62. typedef unsigned int uint32e_type;
  63.  
  64. /* CORRECT SIZE OR GREATER */
  65. typedef char int8_type;
  66. typedef unsigned char uint8_type;
  67. typedef short int16_type;
  68. typedef unsigned short uint16_type;
  69. typedef int int32_type;
  70. typedef unsigned int uint32_type;
  71.  
  72. #include "fopen-same.h"
  73.